Skip to main content

motionRelease

Type​

message

Summary​

Sent when a motion is ended due to an incoming even such as a phone-call.

Syntax​

motionRelease <pMotion>

Description​

Handle the motionRelease message to perform an action when a motion is stopped due to an incoming event such as a phone-call.

The motionRelease message is sent to the current card of the defaultStack when a motion is ended due to an incoming event such as a phone-call.

note

As of iPhoneOS 3.0 the only motion that is generated is "shake"

Parameters​

NameTypeDescription

pMotion

The type of motion detected by the device

Examples​

on motionRelease theMotion
stopDice -- stops the animation when the motion is stopped
end motionRelease

message: motionEnd, motionStart

property: defaultStack

Compatibility and Support​

Introduced

LiveCode 4.5.2

OS

ios

android

Platforms

desktop

Thank you for your feedback!

Was this page helpful?